﻿using System;
using System.Collections.Generic;

namespace Models
{
    /// <summary>
    /// 采购收货主表
    /// </summary>
    public class PurchaseGetHead
    {
        /// <summary>
        /// 相关文件
        /// </summary>
        public List<FileData> FileList { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public decimal ID { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 资产集合
        /// </summary>
        public List<PurchaseGetBody> ItemList { get; set; }

        /// <summary>
        /// 审核状态（0：审批中；1：已审批；2：暂存）
        /// </summary>
        public int PG_AuditStatus { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        public int PG_CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string PG_CompanyName { get; set; }

        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime PG_Date { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int PG_DeptId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string PG_DeptName { get; set; }

        /// <summary>
        /// 收货编号
        /// </summary>
        public string PG_Number { get; set; }

        /// <summary>
        /// 采购订单ID
        /// </summary>
        public decimal PG_OrderID { get; set; }

        /// <summary>
        /// 采购订单编号
        /// </summary>
        public string PG_OrderNo { get; set; }

        /// <summary>
        /// 收货人员
        /// </summary>
        public string PG_Person { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string PG_Remarks { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public int PG_SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string PG_SupplierName { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public decimal PG_TotalAmount { get; set; }

        public PurchaseGetHead()
        {
            PG_Remarks = "";
            IsDelete = 0;
            FileList = new List<FileData>();
            ItemList = new List<PurchaseGetBody>();
        }
    }
}